<table id="agentconf_table" ref="AgentConf" class="table" width="100%" border="0" cellspacing="1" cellpadding="0">
		<thead class="state-header">
		  <tr>
		  
		  	  <td  width="40" tdid="0" align="center">
			 	选择
			  </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"id")||fields=="*"||(!fields && true)}}' tdid="1" ref="id"   title="编号">编号
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"name")||fields=="*"||(!fields && true)}}' tdid="2" ref="name" flagKey='true'  title="名称">名称
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"price")||fields=="*"||(!fields && true)}}' tdid="3" ref="price"   title="代理卡价格">代理卡价格
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"dlZjJl")||fields=="*"||(!fields && true)}}' tdid="4" ref="dlZjJl"   title="代理直接奖励">代理直接奖励
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"dlJjJl")||fields=="*"||(!fields && true)}}' tdid="5" ref="dlJjJl"   title="代理间接奖励">代理间接奖励
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"fxZjJl")||fields=="*"||(!fields && true)}}' tdid="6" ref="fxZjJl"   title="分销直接奖励">分销直接奖励
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"fxJjJl")||fields=="*"||(!fields && true)}}' tdid="7" ref="fxJjJl"   title="分销间接奖励">分销间接奖励
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"qrCode")||fields=="*"||(!fields && true)}}' tdid="8" ref="qrCode"   title="二维码">二维码
			 </td>
			<td  width="65" tdid="9" class="options" ref="options">操作</td>
			<td class="operation" tdid="10" ref="operation" style="width:120px;"> 
				&nbsp;
			</td>
		  </tr>
		 </thead>	
		 <tbody>
		 
		  <tr lz:for="{{list}}" id="{{item.id}}" >
		  	<td class="td-checkbox" align="center">
				<input class="check" name="check" type="checkbox" value="{{item.id}}"/>
			</td>
				<td lz:if='{{lz.idin(fields,"id")||fields=="*"||(!fields && true)}}' ref="id" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.id$ || item.id}}
				</td>
				<td lz:if='{{lz.idin(fields,"name")||fields=="*"||(!fields && true)}}' ref="name" class="inc {{index%2==0?'odd':'even'}} td  node">
					 
					 
					 	{{item.name$ || item.name}}
				</td>
				<td lz:if='{{lz.idin(fields,"price")||fields=="*"||(!fields && true)}}' ref="price" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.price$ || item.price}}
				</td>
				<td lz:if='{{lz.idin(fields,"dlZjJl")||fields=="*"||(!fields && true)}}' ref="dlZjJl" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.dlZjJl$ || item.dlZjJl}}
				</td>
				<td lz:if='{{lz.idin(fields,"dlJjJl")||fields=="*"||(!fields && true)}}' ref="dlJjJl" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.dlJjJl$ || item.dlJjJl}}
				</td>
				<td lz:if='{{lz.idin(fields,"fxZjJl")||fields=="*"||(!fields && true)}}' ref="fxZjJl" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.fxZjJl$ || item.fxZjJl}}
				</td>
				<td lz:if='{{lz.idin(fields,"fxJjJl")||fields=="*"||(!fields && true)}}' ref="fxJjJl" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.fxJjJl$ || item.fxJjJl}}
				</td>
				<td lz:if='{{lz.idin(fields,"qrCode")||fields=="*"||(!fields && true)}}' ref="qrCode" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.qrCode$ || item.qrCode}}
				</td>
		  
		  
			<td class="options">
						
						<a href="javascript:void(0);" onclick='top.$.open("/manage/agents/agentconf.edit.html",{id:"{{item.id}}",edittype:"codeSave"},window)'>
							生成二维码
						</a>
						
			</td>
			<td class="operation {{index%2==0?'odd':'even'}}">
				<a onclick='navigate("/manage/agents/agentconf.edit.html",{edittype:"update",id:"{{item.id}}"},window)' href="javascript:void(0)">修改</a>
				<a onclick="deleteAgentconf('{{item.id}}','{{item.name}}')" href="javascript:void(0);">删除</a>
				<a class="inc-h" onclick='top.$.open("/manage/agents/agentconf.edit.html",{edittype:"detail",id:"{{item.id}}"},window)' href="javascript:void(0);">详情</a>
			</td>
		  </tr>
		 
		 </tbody>
		 		 
	  </table>